package cn.alcatraz.org.mapper;

import cn.alcatraz.basic.mapper.BaseMapper;
import cn.alcatraz.org.domain.Department;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {
    /**
     * 获取下级
     * @param parent_id
     * @return
     */
    List<Department> getChildren(Long parent_id);
}
